﻿using System.ComponentModel.DataAnnotations;

namespace BankCreditPortfolio.Models.BankModels
{
    public class GuarantorInfoModel
    {
        [Display(Name = "First name")]
        [RegularExpression(@"[A-Z][a-z]{0,30}(([\'\,\.\-][A-Z])?[a-z]*)*$", ErrorMessage = "First name is not valid")]
        public string FirstName { get; set; }

        [Display(Name = "Last name")]
        public string LastName { get; set; }

        [Display(Name = "Middle name")]
        public string MiddleName { get; set; }

        [Display(Name = "Income")]
        public decimal Gains { get; set; }

        [Display(Name = "Income Currency")]
        public string GainsCurrency { get; set; }

        [Display(Name = "Passport Personal Number")]
        public string PersonalId { get; set; }

        [Display(Name = "Date of passport delivery")]
        public string PassportDate { get; set; }

        [Display(Name = "Passport issuing authority")]
        public string PassportIssuingAuthority { get; set; }

        [Display(Name = "Address")]
        public string Address { get; set; }

        [Display(Name = "Phone")]
        public string Phone { get; set; }

        [Display(Name = "Workplace")]
        public string Workplace { get; set; }
    }
}